package com.pet.shop.mappers.shop;

import com.github.pagehelper.Page;
import com.pet.shop.dto.PageDto;
import com.pet.shop.entity.shop.PetInjection;
import com.pet.shop.entity.shop.PetRelay;

import java.util.List;

public interface PetRelayMapper {

    int delete(Long id);

    int insert(PetRelay record);

    PetRelay get(Long id);

    int update(PetRelay record);

    Page<PetRelay> queryPage(PageDto<PetRelay> page);

    List<PetRelay> queryByPetId(Long petId);

    List<PetRelay> queryByUserId(Long userId);
}